/** 
  * @author Ji Ye Choi <cgycgy@naver.com>
  * @version 1.6
  * @since 2010-10-23
  */ 

import java.awt.*;

public class EqualsMain {

	/**
	  * @param args
	  */

	public static void main(String[] args) {
		Triangle t = new Triangle(new Point(0,0), new Point(1,1), new Point(2,2));
		ColoredTriangle ct = new ColoredTriangle(Color.red, new Point(0,0), new Point(1,1), new Point(2,2));

		System.out.println(t.equals(ct));
		System.out.println(ct.equals(ct));
	}
}
